package union

class PerfilCompetencia {
	
	String nome
	String descricao
	boolean atende
	
	String toString(){
		"${this.nome}"
	}
	
	static hasMany = [Competencia]
	
	static constraints = {
		nome(nullable:false, blank:false)
		descricao(nullable:true, blank:true)		
		atende(nullable:false, blank:false)
	}
}
